//
//  NewsListObj.h
//
//  Created by lizhenqiang  on 16/4/10
//  Copyright (c) 2016 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,KcellType) {
    KcellTypeNoImage=0,
    KcellTypeSmallImage,
    KcellTypeBigImage
    
};

@interface NewsListObj : NSObject <NSCoding, NSCopying>

@property (nonatomic, strong) NSString *internalBaseClassIdentifier;
@property (nonatomic, strong) NSString *recoImage;
@property (nonatomic, assign) double remark;//评论数
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *publishTime;
@property (nonatomic, strong) NSString *abstract;
@property (nonatomic, assign) BOOL isReco;
@property (nonatomic, assign) BOOL isLarge;//是否是大图展示
@property (nonatomic, strong) NSString *coverImage;
@property (nonatomic, assign) double view;//浏览数
@property (nonatomic, assign) KcellType cellType;

#pragma mark 新增图片 高/宽 比例
@property (nonatomic, assign) CGFloat imageBili;
@property (nonatomic, assign) NSString *imageName;

+ (instancetype)modelObjectWithDictionary:(NSDictionary *)dict;
- (instancetype)initWithDictionary:(NSDictionary *)dict;
- (NSDictionary *)dictionaryRepresentation;

@end
